Kubio\Core\Activation D

Total Complexity 132
Dependencies 9
Dependents 2
Total lines 747
Lines of code 571
Logical lines of code 297
Comment lines 15
Methods 28
Properties 2

Methods 28

Method Rating Maintainability Complexity Lines of code
preparePrimaryMenu()
C
32 26 104
activate()
B
34 20 97
__construct()
A
39 12 72
prepareRemoteData()
A
43 13 43
importFrontPage()
A
44 6 47
setPages()
S
45 6 43
getFileContent()
S
56 5 18
getAvailableTemplateParts()
S
62 3 11
importDesign()
S
64 3 11
getAvailableTemplates()
S
62 3 11
importTemplates()
S
65 3 8
importTemplateParts()
S
65 3 8
templateMapPartsTheme()
S
66 3 8
updateBlocks()
S
65 3 8
afterSwitchTheme()
S
60 2 14
getDesignPagePath()
S
72 2 6
load()
S
71 2 6
importCustomizerOptions()
S
68 2 7
isAJAX()
S
79 2 3
isCLI()
S
79 2 3
activeWithFrontpage()
S
70 2 6
restoreDeactivationBackup()
S
65 2 9
shouldRestoreDeactivationBackup()
S
71 2 5
addCommonFilters()
S
61 1 11
importCustomizedTemplates()
S
81 1 3
skipAfterSwitchTheme()
S
79 1 3
startWithAI()
S
79 1 3
importUnmodifiedTemplates()
S
80 1 3